home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 January: Mac OS SDK / Dev.CD Jan 99 SDK1.toast / Development Kits / Interfaces&Libraries / Universal / Interfaces / AIncludes / Gestalt.a < prev    next >
Encoding:
Text File  |  1998-08-17  |  52.4 KB  |  1,186 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        Gestalt.a
  3. ;
  4. ;    Contains:    Gestalt Interfaces.
  5. ;
  6. ;    Version:    Technology:    System 7.5
  7. ;                Release:    Universal Interfaces 3.2
  8. ;
  9. ;    Copyright:    © 1988-1998 by Apple Computer, Inc.  All rights reserved
  10. ;
  11. ;    Bugs?:        For bug reports, consult the following page on
  12. ;                the World Wide Web:
  13. ;
  14. ;                    http://developer.apple.com/bugreporter/
  15. ;
  16. ;
  17.     IF &TYPE('__GESTALT__') = 'UNDEFINED' THEN
  18. __GESTALT__ SET 1
  19.  
  20.     IF &TYPE('__MACTYPES__') = 'UNDEFINED' THEN
  21.     include 'MacTypes.a'
  22.     ENDIF
  23.     IF &TYPE('__MIXEDMODE__') = 'UNDEFINED' THEN
  24.     include 'MixedMode.a'
  25.     ENDIF
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32. ;
  33. ; pascal OSErr Gestalt(OSType selector, long *response)
  34. ;
  35.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  36.         _Gestalt:    OPWORD    $A1AD
  37.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  38.         IMPORT_CFM_FUNCTION Gestalt
  39.     ENDIF
  40.  
  41. ;
  42. ; pascal OSErr ReplaceGestalt(OSType selector, SelectorFunctionUPP gestaltFunction, SelectorFunctionUPP *oldGestaltFunction)
  43. ;
  44.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  45.         _ReplaceGestalt:    OPWORD    $A5AD
  46.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  47.         IMPORT_CFM_FUNCTION ReplaceGestalt
  48.     ENDIF
  49.  
  50. ;
  51. ; pascal OSErr NewGestalt(OSType selector, SelectorFunctionUPP gestaltFunction)
  52. ;
  53.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  54.         ; parameters:
  55.         ;    selector        => D0
  56.         ;    gestaltFunction => A0
  57.         ; returns:
  58.         ;    OSErr           <= D0
  59.         _NewGestalt:    OPWORD    $A3AD
  60.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  61.         IMPORT_CFM_FUNCTION NewGestalt
  62.     ENDIF
  63.  
  64.  
  65. ;      These functions (and SetGestaltValue) are built into System 7.5,
  66. ;      but not on earlier systems
  67.  
  68.  
  69.  
  70. ;
  71. ; pascal OSErr NewGestaltValue(OSType selector, long newValue)
  72. ;
  73.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  74.         Macro
  75.         _NewGestaltValue
  76.             move.w              #$0401,D0
  77.             dc.w                $ABF1
  78.         EndM
  79.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  80.         IMPORT_CFM_FUNCTION NewGestaltValue
  81.     ENDIF
  82.  
  83. ;
  84. ; pascal OSErr ReplaceGestaltValue(OSType selector, long replacementValue)
  85. ;
  86.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  87.         Macro
  88.         _ReplaceGestaltValue
  89.             move.w              #$0402,D0
  90.             dc.w                $ABF1
  91.         EndM
  92.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  93.         IMPORT_CFM_FUNCTION ReplaceGestaltValue
  94.     ENDIF
  95.  
  96. ;
  97. ; pascal OSErr SetGestaltValue(OSType selector, long newValue)
  98. ;
  99.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  100.         Macro
  101.         _SetGestaltValue
  102.             move.w              #$0404,D0
  103.             dc.w                $ABF1
  104.         EndM
  105.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  106.         IMPORT_CFM_FUNCTION SetGestaltValue
  107.     ENDIF
  108.  
  109. ;
  110. ; pascal OSErr DeleteGestaltValue(OSType selector)
  111. ;
  112.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  113.         Macro
  114.         _DeleteGestaltValue
  115.             move.w              #$0203,D0
  116.             dc.w                $ABF1
  117.         EndM
  118.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  119.         IMPORT_CFM_FUNCTION DeleteGestaltValue
  120.     ENDIF
  121.  
  122.  
  123.  
  124. ;  Environment Selectors 
  125.  
  126. gestaltAddressingModeAttr        EQU        'addr'                ; addressing mode attributes 
  127. gestalt32BitAddressing            EQU        0                    ; using 32-bit addressing mode 
  128. gestalt32BitSysZone                EQU        1                    ; 32-bit compatible system zone 
  129. gestalt32BitCapable                EQU        2                    ; Machine is 32-bit capable 
  130.  
  131. gestaltAFPClient                EQU        'afps'
  132. gestaltAFPClientVersionMask        EQU        $0000FFFF            ; low word of long is the 
  133.                                                             ; client version 0x0001 -> 0x0007
  134. gestaltAFPClient3_5                EQU        $0001
  135. gestaltAFPClient3_6                EQU        $0002
  136. gestaltAFPClient3_6_1            EQU        $0003
  137. gestaltAFPClient3_6_2            EQU        $0004
  138. gestaltAFPClient3_6_3            EQU        $0005                ; including 3.6.4, 3.6.5
  139. gestaltAFPClient3_7                EQU        $0006                ; including 3.7.1
  140. gestaltAFPClient3_7_2            EQU        $0007                ; including 3.7.3
  141. gestaltAFPClientAttributeMask    EQU        $FFFF0000            ; high word of long is a 
  142.                                                             ; set of attribute bits
  143. gestaltAFPClientCfgRsrc            EQU        16                    ; Client uses config resources
  144. gestaltAFPClientSupportsIP        EQU        29                    ; Client supports AFP over TCP/IP
  145. gestaltAFPClientVMUI            EQU        30                    ; Client can put up UI from the PBVolMount trap
  146. gestaltAFPClientMultiReq        EQU        31                    ; Client supports multiple outstanding requests
  147.  
  148. gestaltAliasMgrAttr                EQU        'alis'                ; Alias Mgr Attributes 
  149. gestaltAliasMgrPresent            EQU        0                    ; True if the Alias Mgr is present 
  150. gestaltAliasMgrSupportsRemoteAppletalk EQU 1                ; True if the Alias Mgr knows about Remote Appletalk 
  151. gestaltAliasMgrSupportsAOCEKeychain EQU    2                    ; True if the Alias Mgr knows about the AOCE Keychain 
  152. gestaltAliasMgrResolveAliasFileWithMountOptions EQU 3        ; True if the Alias Mgr implements gestaltAliasMgrResolveAliasFileWithMountOptions() and IsAliasFile() 
  153.  
  154. gestaltArbitorAttr                EQU        'arb '
  155. gestaltSerialArbitrationExists    EQU        0                    ; this bit if the serial port arbitrator exists
  156.  
  157. gestaltAppleScriptVersion        EQU        'ascv'                ; AppleScript version
  158.  
  159. gestaltAppleScriptAttr            EQU        'ascr'                ; AppleScript attributes
  160. gestaltAppleScriptPresent        EQU        0
  161. gestaltAppleScriptPowerPCSupport EQU    1
  162.  
  163. gestaltATAAttr                    EQU        'ata '                ; ATA is the driver to support IDE hard disks 
  164. gestaltATAPresent                EQU        0                    ; if set, ATA Manager is present 
  165.  
  166. gestaltATalkVersion                EQU        'atkv'                ; Detailed AppleTalk version; see comment above for format 
  167.  
  168. gestaltAppleTalkVersion            EQU        'atlk'                ; appletalk version 
  169. ;    FORMAT OF gestaltATalkVersion RESPONSE
  170. ;    --------------------------------------
  171. ;    The version is stored in the high three bytes of the response value.  Let us number
  172. ;    the bytes in the response value from 0 to 3, where 0 is the least-significant byte.
  173. ;
  174. ;        Byte#:       3 2 1 0
  175. ;        Value:    0xMMNNRR00
  176. ;
  177. ;    Byte 3 (MM) contains the major revision number, byte 2 (NN) contains the minor
  178. ;    revision number, and byte 1 (RR) contains a constant that represents the release
  179. ;    stage.  Byte 0 always contains 0x00.  The constants for the release stages are:
  180. ;
  181. ;        development = 0x20
  182. ;        alpha        = 0x40
  183. ;        beta        = 0x60
  184. ;        final        = 0x80
  185. ;        release        = 0x80
  186. ;
  187. ;    For example, if you call Gestalt with the 'atkv' selector when AppleTalk version 57
  188. ;    is loaded, you receive the long integer response value 0x39008000.
  189. ;
  190.  
  191.  
  192. gestaltAUXVersion                EQU        'a/ux'                ; a/ux version, if present 
  193.  
  194. gestaltBusClkSpeed                EQU        'bclk'                ; main I/O bus clock speed in hertz 
  195.  
  196. gestaltCloseViewAttr            EQU        'BSDa'                ; CloseView attributes 
  197. gestaltCloseViewEnabled            EQU        0                    ; Closeview enabled (dynamic bit - returns current state) 
  198. gestaltCloseViewDisplayMgrFriendly EQU    1                    ; Closeview compatible with Display Manager (FUTURE) 
  199.  
  200. gestaltCFMAttr                    EQU        'cfrg'                ; returns information about the Code Fragment Manager 
  201. gestaltCFMPresent                EQU        0                    ; true if the Code Fragment Manager is present 
  202.  
  203. gestaltCollectionMgrVersion        EQU        'cltn'                ; Collection Manager version 
  204.  
  205. gestaltColorMatchingAttr        EQU        'cmta'                ; ColorSync attributes 
  206. gestaltHighLevelMatching        EQU        0
  207. gestaltColorMatchingLibLoaded    EQU        1
  208.  
  209. gestaltColorMatchingVersion        EQU        'cmtc'
  210. gestaltColorSync10                EQU        $0100                ; 0x0100 & 0x0110 _Gestalt versions for 1.0-1.0.3 product 
  211. gestaltColorSync11                EQU        $0110                ;   0x0100 == low-level matching only 
  212. gestaltColorSync104                EQU        $0104                ; Real version, by popular demand 
  213. gestaltColorSync105                EQU        $0105
  214. gestaltColorSync20                EQU        $0200                ; ColorSync 2.0 
  215. gestaltColorSync21                EQU        $0210
  216. gestaltColorSync211                EQU        $0211
  217. gestaltColorSync212                EQU        $0212
  218. gestaltColorSync213                EQU        $0213
  219. gestaltColorSync25                EQU        $0250
  220.  
  221. gestaltConnMgrAttr                EQU        'conn'                ; connection mgr attributes    
  222. gestaltConnMgrPresent            EQU        0
  223. gestaltConnMgrCMSearchFix        EQU        1                    ; Fix to CMAddSearch?     
  224. gestaltConnMgrErrorString        EQU        2                    ; has CMGetErrorString() 
  225. gestaltConnMgrMultiAsyncIO        EQU        3                    ; CMNewIOPB, CMDisposeIOPB, CMPBRead, CMPBWrite, CMPBIOKill 
  226.  
  227. gestaltColorPickerVersion        EQU        'cpkr'                ; returns version of ColorPicker 
  228. gestaltColorPicker                EQU        'cpkr'                ; gestaltColorPicker is old name for gestaltColorPickerVersion 
  229.  
  230. gestaltComponentMgr                EQU        'cpnt'                ; Component Mgr version 
  231. ;    The gestaltNativeCPUtype ('cput') selector can be used to determine the
  232. ;    native CPU type for all Macs running System 7.5 or later.
  233. ;
  234. ;    The 'cput' selector is not available when running System 7.0 (or earlier)
  235. ;    on most 68K machines.  If 'cput' is not available, then the 'proc' selector
  236. ;    should be used to determine the processor type.
  237. ;
  238. ;    An application should always try the 'cput' selector first.  This is because,
  239. ;    on PowerPC machines, the 'proc' selector will reflect the CPU type of the
  240. ;    emulator's "virtual processor" rather than the native CPU type.
  241. ;
  242. ;    The values specified below are accurate.  Prior versions of the Gestalt
  243. ;    interface file contained values that were off by one.
  244. ;
  245. ;    The Quadra 840AV and the Quadra 660AV contain a bug in the ROM code that
  246. ;    causes the 'cput' selector to respond with the value 5.  This behavior
  247. ;    occurs only when running System 7.1.  System 7.5 fixes the bug by replacing
  248. ;    the faulty 'cput' selector function with the correct one.
  249. ;
  250. ;    The gestaltNativeCPUfamily ('cpuf') selector can be used to determine the
  251. ;    general family the native CPU is in. This can be helpful for determing how
  252. ;    blitters and things should be written. In general, it is smarter to use this
  253. ;    selector (when available) than gestaltNativeCPUtype since newer processors
  254. ;    in the same family can be handled without revising your code.
  255. ;
  256. ;    gestaltNativeCPUfamily uses the same results as gestaltNativeCPUtype, but
  257. ;    will only return certain CPU values.
  258. ;
  259.  
  260.  
  261. gestaltNativeCPUtype            EQU        'cput'                ; Native CPU type                                       
  262. gestaltNativeCPUfamily            EQU        'cpuf'                ; Native CPU family                                  
  263. gestaltCPU68000                    EQU        0                    ; Various 68k CPUs...     
  264. gestaltCPU68010                    EQU        1
  265. gestaltCPU68020                    EQU        2
  266. gestaltCPU68030                    EQU        3
  267. gestaltCPU68040                    EQU        4
  268. gestaltCPU601                    EQU        $0101                ; IBM 601                                                 
  269. gestaltCPU603                    EQU        $0103
  270. gestaltCPU604                    EQU        $0104
  271. gestaltCPU603e                    EQU        $0106
  272. gestaltCPU603ev                    EQU        $0107
  273. gestaltCPU750                    EQU        $0108                ; Also 740 - "G3" 
  274. gestaltCPU604e                    EQU        $0109
  275. gestaltCPU604ev                    EQU        $010A                ; Mach 5, 250Mhz and up 
  276.  
  277. gestaltCRMAttr                    EQU        'crm '                ; comm resource mgr attributes 
  278. gestaltCRMPresent                EQU        0
  279. gestaltCRMPersistentFix            EQU        1                    ; fix for persistent tools 
  280. gestaltCRMToolRsrcCalls            EQU        2                    ; has CRMGetToolResource/ReleaseToolResource 
  281.  
  282. gestaltControlStripVersion        EQU        'csvr'                ; Control Strip version (was 'sdvr') 
  283.  
  284. gestaltCTBVersion                EQU        'ctbv'                ; CommToolbox version 
  285.  
  286. gestaltDBAccessMgrAttr            EQU        'dbac'                ; Database Access Mgr attributes 
  287. gestaltDBAccessMgrPresent        EQU        0                    ; True if Database Access Mgr present 
  288.  
  289. gestaltSDPFindVersion            EQU        'dfnd'                ; OCE Standard Directory Panel
  290.  
  291. gestaltDictionaryMgrAttr        EQU        'dict'                ; Dictionary Manager attributes 
  292. gestaltDictionaryMgrPresent        EQU        0                    ; Dictionary Manager attributes 
  293.  
  294. gestaltDITLExtAttr                EQU        'ditl'                ; AppenDITL, etc. calls from CTB 
  295. gestaltDITLExtPresent            EQU        0                    ; True if calls are present 
  296. gestaltDITLExtSupportsIctb        EQU        1                    ; True if AppendDITL, ShortenDITL support 'ictb's 
  297.  
  298. gestaltDesktopPicturesAttr        EQU        'dkpx'                ; Desktop Pictures attributes 
  299. gestaltDesktopPicturesInstalled    EQU        0                    ; True if control panel is installed 
  300. gestaltDesktopPicturesDisplayed    EQU        1                    ; True if a picture is currently displayed 
  301.  
  302. gestaltDisplayMgrVers            EQU        'dplv'                ; Display Manager version 
  303.  
  304. gestaltDisplayMgrAttr            EQU        'dply'                ; Display Manager attributes 
  305. gestaltDisplayMgrPresent        EQU        0                    ; True if Display Mgr is present 
  306. gestaltDisplayMgrCanSwitchMirrored EQU    2                    ; True if Display Mgr can switch modes on mirrored displays 
  307. gestaltDisplayMgrSetDepthNotifies EQU    3                    ; True SetDepth generates displays mgr notification 
  308. gestaltDisplayMgrCanConfirm        EQU        4                    ; True Display Manager supports DMConfirmConfiguration 
  309. gestaltDisplayMgrColorSyncAware    EQU        5                    ; True if Display Manager supports profiles for displays 
  310.  
  311. gestaltDragMgrAttr                EQU        'drag'                ; Drag Manager attributes 
  312. gestaltDragMgrPresent            EQU        0                    ; Drag Manager is present 
  313. gestaltDragMgrFloatingWind        EQU        1                    ; Drag Manager supports floating windows 
  314. gestaltPPCDragLibPresent        EQU        2                    ; Drag Manager PPC DragLib is present 
  315. gestaltDragMgrHasImageSupport    EQU        3                    ; Drag Manager allows SetDragImage call 
  316. gestaltCanStartDragInFloatWindow EQU    4                    ; Drag Manager supports starting a drag in a floating window 
  317.  
  318. gestaltDigitalSignatureVersion    EQU        'dsig'                ; returns Digital Signature Toolbox version in low-order word
  319.  
  320. gestaltEasyAccessAttr            EQU        'easy'                ; Easy Access attributes 
  321. gestaltEasyAccessOff            EQU        0                    ; if Easy Access present, but off (no icon) 
  322. gestaltEasyAccessOn                EQU        1                    ; if Easy Access "On" 
  323. gestaltEasyAccessSticky            EQU        2                    ; if Easy Access "Sticky" 
  324. gestaltEasyAccessLocked            EQU        3                    ; if Easy Access "Locked" 
  325.  
  326. gestaltEditionMgrAttr            EQU        'edtn'                ; Edition Mgr attributes 
  327. gestaltEditionMgrPresent        EQU        0                    ; True if Edition Mgr present 
  328. gestaltEditionMgrTranslationAware EQU    1                    ; True if edition manager is translation manager aware 
  329.  
  330. gestaltAppleEventsAttr            EQU        'evnt'                ; Apple Events attributes 
  331. gestaltAppleEventsPresent        EQU        0                    ; True if Apple Events present 
  332. gestaltScriptingSupport            EQU        1
  333. gestaltOSLInSystem                EQU        2                    ; OSL is in system so don’t use the one linked in to app 
  334.  
  335. gestaltExtensionTableVersion    EQU        'etbl'                ; ExtensionTable version 
  336.  
  337. gestaltFloppyAttr                EQU        'flpy'                ; Floppy disk drive/driver attributes 
  338. gestaltFloppyIsMFMOnly            EQU        0                    ; Floppy driver only supports MFM disk formats 
  339. gestaltFloppyIsManualEject        EQU        1                    ; Floppy drive, driver, and file system are in manual-eject mode 
  340. gestaltFloppyUsesDiskInPlace    EQU        2                    ; Floppy drive must have special DISK-IN-PLACE output; standard DISK-CHANGED not used 
  341.  
  342. gestaltFinderAttr                EQU        'fndr'                ; Finder attributes 
  343. gestaltFinderDropEvent            EQU        0                    ; Finder recognizes drop event 
  344. gestaltFinderMagicPlacement        EQU        1                    ; Finder supports magic icon placement 
  345. gestaltFinderCallsAEProcess        EQU        2                    ; Finder calls AEProcessAppleEvent 
  346. gestaltOSLCompliantFinder        EQU        3                    ; Finder is scriptable and recordable 
  347. gestaltFinderSupports4GBVolumes    EQU        4                    ; Finder correctly handles 4GB volumes 
  348. gestaltFinderHasClippings        EQU        6                    ; Finder supports Drag Manager clipping files 
  349. gestaltFinderFullDragManagerSupport EQU    7                    ; Finder accepts 'hfs ' flavors properly 
  350. gestaltFinderFloppyRootComments    EQU        8                    ; in MacOS 8 and later, will be set if Finder ever supports comments on Floppy icons 
  351. gestaltFinderLargeAndNotSavedFlavorsOK EQU 9                ; in MacOS 8 and later, this bit is set if drags with >1024-byte flavors and flavorNotSaved flavors work reliably 
  352. gestaltFinderUsesExtensibleFolderManager EQU 10                ; Finder uses Extensible Folder Manager (for example, for Magic Routing) 
  353.  
  354. gestaltFindFolderAttr            EQU        'fold'                ; Folder Mgr attributes 
  355. gestaltFindFolderPresent        EQU        0                    ; True if Folder Mgr present 
  356. gestaltFolderDescSupport        EQU        1                    ; Tru if Folder Mgr has FolderDesc calls 
  357.  
  358.  
  359. gestaltFontMgrAttr                EQU        'font'                ; Font Mgr attributes 
  360. gestaltOutlineFonts                EQU        0                    ; True if Outline Fonts supported 
  361.  
  362. gestaltFPUType                    EQU        'fpu '                ; fpu type 
  363. gestaltNoFPU                    EQU        0                    ; no FPU 
  364. gestalt68881                    EQU        1                    ; 68881 FPU 
  365. gestalt68882                    EQU        2                    ; 68882 FPU 
  366. gestalt68040FPU                    EQU        3                    ; 68040 built-in FPU 
  367.  
  368. gestaltFSAttr                    EQU        'fs  '                ; file system attributes 
  369. gestaltFullExtFSDispatching        EQU        0                    ; has really cool new HFSDispatch dispatcher 
  370. gestaltHasFSSpecCalls            EQU        1                    ; has FSSpec calls 
  371. gestaltHasFileSystemManager        EQU        2                    ; has a file system manager 
  372. gestaltFSMDoesDynamicLoad        EQU        3                    ; file system manager supports dynamic loading 
  373. gestaltFSSupports4GBVols        EQU        4                    ; file system supports 4 gigabyte volumes 
  374. gestaltFSSupports2TBVols        EQU        5                    ; file system supports 2 terabyte volumes 
  375. gestaltHasExtendedDiskInit        EQU        6                    ; has extended Disk Initialization calls 
  376. gestaltDTMgrSupportsFSM            EQU        7                    ; Desktop Manager support FSM-based foreign file systems 
  377. gestaltFSNoMFSVols                EQU        8                    ; file system doesn't supports MFS volumes 
  378. gestaltFSSupportsHFSPlusVols    EQU        9                    ; file system supports HFS Plus volumes 
  379. gestaltFSIncompatibleDFA82        EQU        10                    ; VCB and FCB structures changed; DFA 8.2 is incompatible 
  380.  
  381. gestaltAdminFeaturesFlagsAttr    EQU        'fred'                ; a set of admin flags, mostly useful internally. 
  382. gestaltFinderUsesSpecialOpenFoldersFile EQU 0                ; the Finder uses a special file to store the list of open folders 
  383.  
  384. gestaltFSMVersion                EQU        'fsm '                ; returns version of HFS External File Systems Manager (FSM) 
  385.  
  386. gestaltFXfrMgrAttr                EQU        'fxfr'                ; file transfer manager attributes 
  387. gestaltFXfrMgrPresent            EQU        0
  388. gestaltFXfrMgrMultiFile            EQU        1                    ; supports FTSend and FTReceive 
  389. gestaltFXfrMgrErrorString        EQU        2                    ; supports FTGetErrorString 
  390. gestaltFXfrMgrAsync                EQU        3                    ;supports FTSendAsync, FTReceiveAsync, FTCompletionAsync
  391.  
  392. gestaltGraphicsAttr                EQU        'gfxa'                ; Quickdraw GX attributes selector 
  393. gestaltGraphicsIsDebugging        EQU        $00000001
  394. gestaltGraphicsIsLoaded            EQU        $00000002
  395. gestaltGraphicsIsPowerPC        EQU        $00000004
  396.  
  397. gestaltGraphicsVersion            EQU        'grfx'                ; Quickdraw GX version selector 
  398. gestaltCurrentGraphicsVersion    EQU        $00010200            ; the version described in this set of headers 
  399.  
  400. gestaltHardwareAttr                EQU        'hdwr'                ; hardware attributes 
  401. gestaltHasVIA1                    EQU        0                    ; VIA1 exists 
  402. gestaltHasVIA2                    EQU        1                    ; VIA2 exists 
  403. gestaltHasASC                    EQU        3                    ; Apple Sound Chip exists 
  404. gestaltHasSCC                    EQU        4                    ; SCC exists 
  405. gestaltHasSCSI                    EQU        7                    ; SCSI exists 
  406. gestaltHasSoftPowerOff            EQU        19                    ; Capable of software power off 
  407. gestaltHasSCSI961                EQU        21                    ; 53C96 SCSI controller on internal bus 
  408. gestaltHasSCSI962                EQU        22                    ; 53C96 SCSI controller on external bus 
  409. gestaltHasUniversalROM            EQU        24                    ; Do we have a Universal ROM? 
  410. gestaltHasEnhancedLtalk            EQU        30                    ; Do we have Enhanced LocalTalk? 
  411.  
  412. gestaltHelpMgrAttr                EQU        'help'                ; Help Mgr Attributes 
  413. gestaltHelpMgrPresent            EQU        0                    ; true if help mgr is present 
  414. gestaltHelpMgrExtensions        EQU        1                    ; true if help mgr extensions are installed 
  415. gestaltAppleGuideIsDebug        EQU        30
  416. gestaltAppleGuidePresent        EQU        31                    ; true if AppleGuide is installed 
  417.  
  418. gestaltHardwareVendorCode        EQU        'hrad'                ; Returns hardware vendor information 
  419. gestaltHardwareVendorApple        EQU        'Appl'                ; Hardware built by Apple 
  420.  
  421. gestaltCompressionMgr            EQU        'icmp'                ; returns version of the Image Compression Manager 
  422.  
  423. gestaltIconUtilitiesAttr        EQU        'icon'                ; Icon Utilities attributes  (Note: available in System 7.0, despite gestalt) 
  424. gestaltIconUtilitiesPresent        EQU        0                    ; true if icon utilities are present 
  425. gestaltIconUtilitiesHas48PixelIcons EQU    1                    ; true if 48x48 icons are supported by IconUtilities 
  426. gestaltIconUtilitiesHas32BitIcons EQU    2                    ; true if 32-bit deep icons are supported 
  427. gestaltIconUtilitiesHas8BitDeepMasks EQU 3                    ; true if 8-bit deep masks are supported 
  428. gestaltIconUtilitiesHasIconServices EQU    4                    ; true if IconServices is present 
  429.  
  430. gestaltInternalDisplay            EQU        'idsp'                ; slot number of internal display location 
  431. ;    To obtain information about the connected keyboard(s), one should
  432. ;    use the ADB Manager API.  See Technical Note OV16 for details.
  433. ;
  434.  
  435.  
  436. gestaltKeyboardType                EQU        'kbd '                ; keyboard type 
  437. gestaltMacKbd                    EQU        1
  438. gestaltMacAndPad                EQU        2
  439. gestaltMacPlusKbd                EQU        3
  440. gestaltExtADBKbd                EQU        4
  441. gestaltStdADBKbd                EQU        5
  442. gestaltPrtblADBKbd                EQU        6
  443. gestaltPrtblISOKbd                EQU        7
  444. gestaltStdISOADBKbd                EQU        8
  445. gestaltExtISOADBKbd                EQU        9
  446. gestaltADBKbdII                    EQU        10
  447. gestaltADBISOKbdII                EQU        11
  448. gestaltPwrBookADBKbd            EQU        12
  449. gestaltPwrBookISOADBKbd            EQU        13
  450. gestaltAppleAdjustKeypad        EQU        14
  451. gestaltAppleAdjustADBKbd        EQU        15
  452. gestaltAppleAdjustISOKbd        EQU        16
  453. gestaltJapanAdjustADBKbd        EQU        17                    ; Japan Adjustable Keyboard 
  454. gestaltPwrBkExtISOKbd            EQU        20                    ; PowerBook Extended International Keyboard with function keys 
  455. gestaltPwrBkExtJISKbd            EQU        21                    ; PowerBook Extended Japanese Keyboard with function keys         
  456. gestaltPwrBkExtADBKbd            EQU        24                    ; PowerBook Extended Domestic Keyboard with function keys         
  457. gestaltPS2Keyboard                EQU        27                    ; PS2 keyboard 
  458. gestaltPwrBkSubDomKbd            EQU        28                    ; PowerBook Subnote Domestic Keyboard with function keys w/  inverted T     
  459. gestaltPwrBkSubISOKbd            EQU        29                    ; PowerBook Subnote International Keyboard with function keys w/  inverted T     
  460. gestaltPwrBkSubJISKbd            EQU        30                    ; PowerBook Subnote Japanese Keyboard with function keys w/ inverted T         
  461. gestaltPwrBkEKDomKbd            EQU        195                    ; (0xC3) PowerBook Domestic Keyboard with Embedded Keypad, function keys & inverted T     
  462. gestaltPwrBkEKISOKbd            EQU        196                    ; (0xC4) PowerBook International Keyboard with Embedded Keypad, function keys & inverted T     
  463. gestaltPwrBkEKJISKbd            EQU        197                    ; (0xC5) PowerBook Japanese Keyboard with Embedded Keypad, function keys & inverted T         
  464. gestaltUSBCosmoANSIKbd            EQU        198                    ; (0xC6) Cosmo USB Domestic (ANSI) Keyboard 
  465. gestaltUSBCosmoISOKbd            EQU        199                    ; (0xC7) Cosmo USB International (ISO) Keyboard 
  466. gestaltUSBCosmoJISKbd            EQU        200                    ; (0xC8) Cosmo USB Japanese (JIS) Keyboard 
  467.  
  468. gestaltLowMemorySize            EQU        'lmem'                ; size of low memory area 
  469.  
  470. gestaltLogicalRAMSize            EQU        'lram'                ; logical ram size 
  471. ;    MACHINE TYPE CONSTANTS NAMING CONVENTION
  472. ;
  473. ;        All future machine type constant names take the following form:
  474. ;
  475. ;            gestalt<lineName><modelNumber>
  476. ;
  477. ;    Line Names
  478. ;
  479. ;        The following table contains the lines currently produced by Apple and the
  480. ;        lineName substrings associated with them:
  481. ;
  482. ;            Line                        lineName
  483. ;            -------------------------    ------------
  484. ;            Macintosh LC                "MacLC"
  485. ;            Macintosh Performa            "Performa"
  486. ;            Macintosh PowerBook            "PowerBook"
  487. ;            Macintosh PowerBook Duo        "PowerBookDuo"
  488. ;            Power Macintosh                "PowerMac"
  489. ;            Apple Workgroup Server        "AWS"
  490. ;
  491. ;        The following table contains lineNames for some discontinued lines:
  492. ;
  493. ;            Line                        lineName
  494. ;            -------------------------    ------------
  495. ;            Macintosh Quadra            "MacQuadra" (preferred)
  496. ;                                        "Quadra" (also used, but not preferred)
  497. ;            Macintosh Centris            "MacCentris"
  498. ;
  499. ;    Model Numbers
  500. ;
  501. ;        The modelNumber is a string representing the specific model of the machine
  502. ;        within its particular line.  For example, for the Power Macintosh 8100/80,
  503. ;        the modelNumber is "8100".
  504. ;
  505. ;        Some Performa & LC model numbers contain variations in the rightmost 1 or 2
  506. ;        digits to indicate different RAM and Hard Disk configurations.  A single
  507. ;        machine type is assigned for all variations of a specific model number.  In
  508. ;        this case, the modelNumber string consists of the constant leftmost part
  509. ;        of the model number with 0s for the variant digits.  For example, the
  510. ;        Performa 6115 and Performa 6116 are both return the same machine type
  511. ;        constant:  gestaltPerforma6100.
  512. ;
  513. ;
  514. ;    OLD NAMING CONVENTIONS
  515. ;
  516. ;    The "Underscore Speed" suffix
  517. ;
  518. ;        In the past, Apple differentiated between machines that had the same model
  519. ;        number but different speeds.  For example, the Power Macintosh 8100/80 and
  520. ;        Power Macintosh 8100/100 return different machine type constants.  This is
  521. ;        why some existing machine type constant names take the form:
  522. ;
  523. ;            gestalt<lineName><modelNumber>_<speed>
  524. ;
  525. ;        e.g.
  526. ;
  527. ;            gestaltPowerMac8100_110
  528. ;            gestaltPowerMac7100_80
  529. ;            gestaltPowerMac7100_66
  530. ;
  531. ;        It is no longer necessary to use the "underscore speed" suffix.  Starting with
  532. ;        the Power Surge machines (Power Macintosh 7200, 7500, 8500 and 9500), speed is
  533. ;        no longer used to differentiate between machine types.  This is why a Power
  534. ;        Macintosh 7200/75 and a Power Macintosh 7200/90 return the same machine type
  535. ;        constant:  gestaltPowerMac7200.
  536. ;
  537. ;    The "Screen Type" suffix
  538. ;
  539. ;        All PowerBook models prior to the PowerBook 190, and all PowerBook Duo models
  540. ;        before the PowerBook Duo 2300 take the form:
  541. ;
  542. ;            gestalt<lineName><modelNumber><screenType>
  543. ;
  544. ;        Where <screenType> is "c" or the empty string.
  545. ;
  546. ;        e.g.
  547. ;
  548. ;            gestaltPowerBook100
  549. ;            gestaltPowerBookDuo280
  550. ;            gestaltPowerBookDuo280c
  551. ;            gestaltPowerBook180
  552. ;            gestaltPowerBook180c
  553. ;
  554. ;        Starting with the PowerBook 190 series and the PowerBook Duo 2300 series, machine
  555. ;        types are no longer differentiated based on screen type.  This is why a PowerBook
  556. ;        5300cs/100 and a PowerBook 5300c/100 both return the same machine type constant:
  557. ;        gestaltPowerBook5300.
  558. ;
  559. ;        Macintosh LC 630                gestaltMacLC630
  560. ;        Macintosh Performa 6200            gestaltPerforma6200
  561. ;        Macintosh Quadra 700            gestaltQuadra700
  562. ;        Macintosh PowerBook 5300        gestaltPowerBook5300
  563. ;        Macintosh PowerBook Duo 2300    gestaltPowerBookDuo2300
  564. ;        Power Macintosh 8500            gestaltPowerMac8500
  565. ;
  566.  
  567.  
  568.  
  569. gestaltMachineType                EQU        'mach'                ; machine type 
  570. gestaltClassic                    EQU        1
  571. gestaltMacXL                    EQU        2
  572. gestaltMac512KE                    EQU        3
  573. gestaltMacPlus                    EQU        4
  574. gestaltMacSE                    EQU        5
  575. gestaltMacII                    EQU        6
  576. gestaltMacIIx                    EQU        7
  577. gestaltMacIIcx                    EQU        8
  578. gestaltMacSE030                    EQU        9
  579. gestaltPortable                    EQU        10
  580. gestaltMacIIci                    EQU        11
  581. gestaltPowerMac8100_120            EQU        12
  582. gestaltMacIIfx                    EQU        13
  583. gestaltMacClassic                EQU        17
  584. gestaltMacIIsi                    EQU        18
  585. gestaltMacLC                    EQU        19
  586. gestaltMacQuadra900                EQU        20
  587. gestaltPowerBook170                EQU        21
  588. gestaltMacQuadra700                EQU        22
  589. gestaltClassicII                EQU        23
  590. gestaltPowerBook100                EQU        24
  591. gestaltPowerBook140                EQU        25
  592. gestaltMacQuadra950                EQU        26
  593. gestaltMacLCIII                    EQU        27
  594. gestaltPerforma450                EQU        27
  595. gestaltPowerBookDuo210            EQU        29
  596. gestaltMacCentris650            EQU        30
  597. gestaltPowerBookDuo230            EQU        32
  598. gestaltPowerBook180                EQU        33
  599. gestaltPowerBook160                EQU        34
  600. gestaltMacQuadra800                EQU        35
  601. gestaltMacQuadra650                EQU        36
  602. gestaltMacLCII                    EQU        37
  603. gestaltPowerBookDuo250            EQU        38
  604. gestaltAWS9150_80                EQU        39
  605. gestaltPowerMac8100_110            EQU        40
  606. gestaltAWS8150_110                EQU        40
  607. gestaltPowerMac5200                EQU        41
  608. gestaltPowerMac5260                EQU        41
  609. gestaltPerforma5300                EQU        41
  610. gestaltPowerMac6200                EQU        42
  611. gestaltPerforma6300                EQU        42
  612. gestaltMacIIvi                    EQU        44
  613. gestaltMacIIvm                    EQU        45
  614. gestaltPerforma600                EQU        45
  615. gestaltPowerMac7100_80            EQU        47
  616. gestaltMacIIvx                    EQU        48
  617. gestaltMacColorClassic            EQU        49
  618. gestaltPerforma250                EQU        49
  619. gestaltPowerBook165c            EQU        50
  620. gestaltMacCentris610            EQU        52
  621. gestaltMacQuadra610                EQU        53
  622. gestaltPowerBook145                EQU        54
  623. gestaltPowerMac8100_100            EQU        55
  624. gestaltMacLC520                    EQU        56
  625. gestaltAWS9150_120                EQU        57
  626. gestaltPowerMac6400                EQU        58
  627. gestaltPerforma6400                EQU        58
  628. gestaltPerforma6360                EQU        58
  629. gestaltMacCentris660AV            EQU        60
  630. gestaltMacQuadra660AV            EQU        60
  631. gestaltPerforma46x                EQU        62
  632. gestaltPowerMac8100_80            EQU        65
  633. gestaltAWS8150_80                EQU        65
  634. gestaltPowerMac9500                EQU        67
  635. gestaltPowerMac9600                EQU        67
  636. gestaltPowerMac7500                EQU        68
  637. gestaltPowerMac7600                EQU        68
  638. gestaltPowerMac8500                EQU        69
  639. gestaltPowerMac8600                EQU        69
  640. gestaltAWS8550                    EQU        68
  641. gestaltPowerBook180c            EQU        71
  642. gestaltPowerBook520                EQU        72
  643. gestaltPowerBook520c            EQU        72
  644. gestaltPowerBook540                EQU        72
  645. gestaltPowerBook540c            EQU        72
  646. gestaltPowerMac5400                EQU        74
  647. gestaltPowerMac6100_60            EQU        75
  648. gestaltAWS6150_60                EQU        75
  649. gestaltPowerBookDuo270c            EQU        77
  650. gestaltMacQuadra840AV            EQU        78
  651. gestaltPerforma550                EQU        80
  652. gestaltPowerBook165                EQU        84
  653. gestaltPowerBook190                EQU        85
  654. gestaltMacTV                    EQU        88
  655. gestaltMacLC475                    EQU        89
  656. gestaltPerforma47x                EQU        89
  657. gestaltMacLC575                    EQU        92
  658. gestaltMacQuadra605                EQU        94
  659. gestaltMacQuadra630                EQU        98
  660. gestaltMacLC580                    EQU        99
  661. gestaltPerforma580                EQU        99
  662. gestaltPowerMac6100_66            EQU        100
  663. gestaltAWS6150_66                EQU        100
  664. gestaltPowerBookDuo280            EQU        102
  665. gestaltPowerBookDuo280c            EQU        103
  666. gestaltPowerMacLC475            EQU        104                    ; Mac LC 475 & PPC Processor Upgrade Card
  667. gestaltPowerMacPerforma47x        EQU        104
  668. gestaltPowerMacLC575            EQU        105                    ; Mac LC 575 & PPC Processor Upgrade Card 
  669. gestaltPowerMacPerforma57x        EQU        105
  670. gestaltPowerMacQuadra630        EQU        106                    ; Quadra 630 & PPC Processor Upgrade Card
  671. gestaltPowerMacLC630            EQU        106                    ; Mac LC 630 & PPC Processor Upgrade Card
  672. gestaltPowerMacPerforma63x        EQU        106                    ; Performa 63x & PPC Processor Upgrade Card
  673. gestaltPowerMac7200                EQU        108
  674. gestaltPowerMac7300                EQU        109
  675. gestaltPowerMac7100_66            EQU        112
  676. gestaltPowerBook150                EQU        115
  677. gestaltPowerMacQuadra700        EQU        116                    ; Quadra 700 & Power PC Upgrade Card
  678. gestaltPowerMacQuadra900        EQU        117                    ; Quadra 900 & Power PC Upgrade Card 
  679. gestaltPowerMacQuadra950        EQU        118                    ; Quadra 950 & Power PC Upgrade Card 
  680. gestaltPowerMacCentris610        EQU        119                    ; Centris 610 & Power PC Upgrade Card 
  681. gestaltPowerMacCentris650        EQU        120                    ; Centris 650 & Power PC Upgrade Card 
  682. gestaltPowerMacQuadra610        EQU        121                    ; Quadra 610 & Power PC Upgrade Card 
  683. gestaltPowerMacQuadra650        EQU        122                    ; Quadra 650 & Power PC Upgrade Card 
  684. gestaltPowerMacQuadra800        EQU        123                    ; Quadra 800 & Power PC Upgrade Card 
  685. gestaltPowerBookDuo2300            EQU        124
  686. gestaltPowerBook500PPCUpgrade    EQU        126
  687. gestaltPowerBook5300            EQU        128
  688. gestaltPowerBook1400            EQU        310
  689. gestaltPowerBook3400            EQU        306
  690. gestaltPowerBook2400            EQU        307
  691. gestaltPowerBookG3Series        EQU        312
  692. gestaltPowerBookG3                EQU        313
  693. gestaltPowerBookG3Series2        EQU        314
  694. gestaltPowerMacG3                EQU        510
  695. gestaltPowerMac5500                EQU        512
  696. gestalt20thAnniversary            EQU        512
  697. gestaltPowerMac6500                EQU        513
  698. gestaltPowerMac4400_160            EQU        514                    ; slower machine has different machine ID
  699. gestaltPowerMac4400                EQU        515
  700.  
  701.  
  702. gestaltQuadra605                EQU        94
  703. gestaltQuadra610                EQU        53
  704. gestaltQuadra630                EQU        98
  705. gestaltQuadra650                EQU        36
  706. gestaltQuadra660AV                EQU        60
  707. gestaltQuadra700                EQU        22
  708. gestaltQuadra800                EQU        35
  709. gestaltQuadra840AV                EQU        78
  710. gestaltQuadra900                EQU        20
  711. gestaltQuadra950                EQU        26
  712.  
  713. kMachineNameStrID                EQU        -16395
  714.  
  715. gestaltSMPMailerVersion            EQU        'malr'                ; OCE StandardMail
  716.  
  717. gestaltMediaBay                    EQU        'mbeh'                ; media bay driver type 
  718. gestaltMBLegacy                    EQU        0                    ; media bay support in PCCard 2.0 
  719. gestaltMBSingleBay                EQU        1                    ; single bay media bay driver 
  720. gestaltMBMultipleBays            EQU        2                    ; multi-bay media bay driver 
  721.  
  722. gestaltMessageMgrVersion        EQU        'mess'                ; GX Printing Message Manager Gestalt Selector 
  723.  
  724. gestaltMachineIcon                EQU        'micn'                ; machine icon 
  725.  
  726. gestaltMiscAttr                    EQU        'misc'                ; miscellaneous attributes 
  727. gestaltScrollingThrottle        EQU        0                    ; true if scrolling throttle on 
  728. gestaltSquareMenuBar            EQU        2                    ; true if menu bar is square 
  729.  
  730. ;    The name gestaltMixedModeVersion for the 'mixd' selector is semantically incorrect.
  731. ;    The same selector has been renamed gestaltMixedModeAttr to properly reflect the
  732. ;    Inside Mac: PowerPC System Software documentation.  The gestaltMixedModeVersion
  733. ;    symbol has been preserved only for backwards compatibility.
  734. ;
  735. ;    Developers are forewarned that gestaltMixedModeVersion has a limited lifespan and
  736. ;    will be removed in a future release of the Interfaces.
  737. ;
  738. ;    For the first version of Mixed Mode, both meanings of the 'mixd' selector are
  739. ;    functionally identical.  They both return 0x00000001.  In subsequent versions
  740. ;    of Mixed Mode, however, the 'mixd' selector will not respond with an increasing
  741. ;    version number, but rather, with 32 attribute bits with various meanings.
  742. ;
  743.  
  744.  
  745. gestaltMixedModeVersion            EQU        'mixd'                ; returns version of Mixed Mode 
  746.  
  747. gestaltMixedModeAttr            EQU        'mixd'                ; returns Mixed Mode attributes 
  748. gestaltMixedModePowerPC            EQU        0                    ; true if Mixed Mode supports PowerPC ABI calling conventions 
  749. gestaltPowerPCAware                EQU        0                    ; old name for gestaltMixedModePowerPC 
  750. gestaltMixedModeCFM68K            EQU        1                    ; true if Mixed Mode supports CFM-68K calling conventions 
  751. gestaltMixedModeCFM68KHasTrap    EQU        2                    ; true if CFM-68K Mixed Mode implements _MixedModeDispatch (versions 1.0.1 and prior did not) 
  752. gestaltMixedModeCFM68KHasState    EQU        3                    ; true if CFM-68K Mixed Mode exports Save/RestoreMixedModeState 
  753.  
  754. gestaltQuickTimeConferencing    EQU        'mtlk'                ; returns QuickTime Conferencing version 
  755.  
  756. gestaltMemoryMapAttr            EQU        'mmap'                ; Memory map type 
  757. gestaltMemoryMapSparse            EQU        0                    ; Sparse memory is on 
  758.  
  759. gestaltMMUType                    EQU        'mmu '                ; mmu type 
  760. gestaltNoMMU                    EQU        0                    ; no MMU 
  761. gestaltAMU                        EQU        1                    ; address management unit 
  762. gestalt68851                    EQU        2                    ; 68851 PMMU 
  763. gestalt68030MMU                    EQU        3                    ; 68030 built-in MMU 
  764. gestalt68040MMU                    EQU        4                    ; 68040 built-in MMU 
  765. gestaltEMMU1                    EQU        5                    ; Emulated MMU type 1  
  766.  
  767. gestaltStdNBPAttr                EQU        'nlup'                ; standard nbp attributes 
  768. gestaltStdNBPPresent            EQU        0
  769. gestaltStdNBPSupportsAutoPosition EQU    1                    ; StandardNBP takes (-1,-1) to mean alert position main screen 
  770.  
  771. gestaltNotificationMgrAttr        EQU        'nmgr'                ; notification manager attributes 
  772. gestaltNotificationPresent        EQU        0                    ; notification manager exists 
  773.  
  774. gestaltNameRegistryVersion        EQU        'nreg'                ; NameRegistryLib version number, for System 7.5.2+ usage 
  775.  
  776. gestaltNuBusSlotCount            EQU        'nubs'                ; count of logical NuBus slots present 
  777.  
  778. gestaltOCEToolboxVersion        EQU        'ocet'                ; OCE Toolbox version 
  779. gestaltOCETB                    EQU        $0102                ; OCE Toolbox version 1.02 
  780. gestaltSFServer                    EQU        $0100                ; S&F Server version 1.0 
  781.  
  782. gestaltOCEToolboxAttr            EQU        'oceu'                ; OCE Toolbox attributes 
  783. gestaltOCETBPresent                EQU        $01                    ; OCE toolbox is present, not running 
  784. gestaltOCETBAvailable            EQU        $02                    ; OCE toolbox is running and available 
  785. gestaltOCESFServerAvailable        EQU        $04                    ; S&F Server is running and available 
  786. gestaltOCETBNativeGlueAvailable    EQU        $10                    ; Native PowerPC Glue routines are availible 
  787.  
  788. gestaltOpenFirmwareInfo            EQU        'opfw'                ; Open Firmware info 
  789.  
  790. gestaltOSAttr                    EQU        'os  '                ; o/s attributes 
  791. gestaltSysZoneGrowable            EQU        0                    ; system heap is growable 
  792. gestaltLaunchCanReturn            EQU        1                    ; can return from launch 
  793. gestaltLaunchFullFileSpec        EQU        2                    ; can launch from full file spec 
  794. gestaltLaunchControl            EQU        3                    ; launch control support available 
  795. gestaltTempMemSupport            EQU        4                    ; temp memory support 
  796. gestaltRealTempMemory            EQU        5                    ; temp memory handles are real 
  797. gestaltTempMemTracked            EQU        6                    ; temporary memory handles are tracked 
  798. gestaltIPCSupport                EQU        7                    ; IPC support is present 
  799. gestaltSysDebuggerSupport        EQU        8                    ; system debugger support is present 
  800.  
  801. gestaltOSTable                    EQU        'ostt'                ;  OS trap table base  
  802.  
  803. gestaltPCCard                    EQU        'pccd'                ;    PC Card attributes
  804. gestaltCardServicesPresent        EQU        0                    ;    PC Card 2.0 (68K) API is present
  805. gestaltPCCardFamilyPresent        EQU        1                    ;    PC Card 3.x (PowerPC) API is present
  806. gestaltPCCardHasPowerControl    EQU        2                    ;    PCCardSetPowerLevel is supported
  807. gestaltPCCardSupportsCardBus    EQU        3                    ;    CardBus is supported
  808.  
  809. gestaltProcClkSpeed                EQU        'pclk'                ; processor clock speed in hertz 
  810.  
  811. gestaltPCXAttr                    EQU        'pcxg'                ; PC Exchange attributes 
  812. gestaltPCXHas8and16BitFAT        EQU        0                    ; PC Exchange supports both 8 and 16 bit FATs 
  813. gestaltPCXHasProDOS                EQU        1                    ; PC Exchange supports ProDOS 
  814.  
  815. gestaltLogicalPageSize            EQU        'pgsz'                ; logical page size 
  816. ;     System 7.6 and later.  If gestaltScreenCaptureMain is not implemented,
  817. ;    PictWhap proceeds with screen capture in the usual way.
  818. ;
  819. ;    The high word of gestaltScreenCaptureMain is reserved (use 0).
  820. ;
  821. ;    To disable screen capture to disk, put zero in the low word.  To
  822. ;    specify a folder for captured pictures, put the vRefNum in the
  823. ;    low word of gestaltScreenCaptureMain, and put the directory ID in
  824. ;    gestaltScreenCaptureDir.
  825. ;
  826.  
  827.  
  828. gestaltScreenCaptureMain        EQU        'pic1'                ; Zero, or vRefNum of disk to hold picture 
  829. gestaltScreenCaptureDir            EQU        'pic2'                ; Directory ID of folder to hold picture 
  830.  
  831. gestaltGXPrintingMgrVersion        EQU        'pmgr'                ; QuickDraw GX Printing Manager Version
  832.  
  833. gestaltPopupAttr                EQU        'pop!'                ; popup cdef attributes 
  834. gestaltPopupPresent                EQU        0
  835.  
  836. gestaltPowerMgrAttr                EQU        'powr'                ; power manager attributes 
  837. gestaltPMgrExists                EQU        0
  838. gestaltPMgrCPUIdle                EQU        1
  839. gestaltPMgrSCC                    EQU        2
  840. gestaltPMgrSound                EQU        3
  841. gestaltPMgrDispatchExists        EQU        4
  842. gestaltPMgrSupportsAVPowerStateAtSleepWake EQU 5
  843. ; * PPC will return the combination of following bit fields.
  844. ; * e.g. gestaltPPCSupportsRealTime +gestaltPPCSupportsIncoming + gestaltPPCSupportsOutGoing
  845. ; * indicates PPC is cuurently is only supports real time delivery
  846. ; * and both incoming and outgoing network sessions are allowed.
  847. ; * By default local real time delivery is supported as long as PPCInit has been called.
  848.  
  849.  
  850. gestaltPPCToolboxAttr            EQU        'ppc '                ; PPC toolbox attributes 
  851. gestaltPPCToolboxPresent        EQU        $0000                ; PPC Toolbox is present  Requires PPCInit to be called 
  852. gestaltPPCSupportsRealTime        EQU        $1000                ; PPC Supports real-time delivery 
  853. gestaltPPCSupportsIncoming        EQU        $0001                ; PPC will deny incoming network requests 
  854. gestaltPPCSupportsOutGoing        EQU        $0002                ; PPC will deny outgoing network requests 
  855.  
  856. gestaltPowerPCProcessorFeatures    EQU        'ppcf'                ; Optional PowerPC processor features 
  857. gestaltPowerPCHasGraphicsInstructions EQU 0                    ; has fres, frsqrte, and fsel instructions 
  858. gestaltPowerPCHasSTFIWXInstruction EQU    1                    ; has stfiwx instruction 
  859. gestaltPowerPCHasSquareRootInstructions EQU 2                ; has fsqrt and fsqrts instructions 
  860. gestaltPowerPCHasDCBAInstruction EQU    3                    ; has dcba instruction 
  861. gestaltPowerPCHasVectorInstructions EQU    4                    ; has vector instructions 
  862. gestaltPowerPCHasDataStreams    EQU        5                    ; has dst, dstt, dstst, dss, and dssall instructions 
  863.  
  864. gestaltProcessorType            EQU        'proc'                ; processor type 
  865. gestalt68000                    EQU        1
  866. gestalt68010                    EQU        2
  867. gestalt68020                    EQU        3
  868. gestalt68030                    EQU        4
  869. gestalt68040                    EQU        5
  870.  
  871. gestaltSDPPromptVersion            EQU        'prpv'                ; OCE Standard Directory Panel
  872.  
  873. gestaltParityAttr                EQU        'prty'                ; parity attributes 
  874. gestaltHasParityCapability        EQU        0                    ; has ability to check parity 
  875. gestaltParityEnabled            EQU        1                    ; parity checking enabled 
  876.  
  877. gestaltQD3DVersion                EQU        'q3v '                ; Quickdraw 3D version in pack BCD
  878.  
  879. gestaltQD3DViewer                EQU        'q3vc'                ; Quickdraw 3D viewer attributes
  880. gestaltQD3DViewerPresent        EQU        0                    ; bit 0 set if QD3D Viewer is available
  881.     IF OLDROUTINENAMES THEN
  882.  
  883. gestaltQD3DViewerNotPresent        EQU        $00
  884. gestaltQD3DViewerAvailable        EQU        $01
  885.     ENDIF    ; OLDROUTINENAMES
  886.  
  887. gestaltQuickdrawVersion            EQU        'qd  '                ; quickdraw version 
  888. gestaltOriginalQD                EQU        $0000                ; original 1-bit QD 
  889. gestalt8BitQD                    EQU        $0100                ; 8-bit color QD 
  890. gestalt32BitQD                    EQU        $0200                ; 32-bit color QD 
  891. gestalt32BitQD11                EQU        $0201                ; 32-bit color QDv1.1 
  892. gestalt32BitQD12                EQU        $0220                ; 32-bit color QDv1.2 
  893. gestalt32BitQD13                EQU        $0230                ; 32-bit color QDv1.3 
  894. gestaltAllegroQD                EQU        $0250                ; Allegro QD OS 8.5 
  895.  
  896. gestaltQD3D                        EQU        'qd3d'                ; Quickdraw 3D attributes
  897. gestaltQD3DPresent                EQU        0                    ; bit 0 set if QD3D available
  898.     IF OLDROUTINENAMES THEN
  899.  
  900. gestaltQD3DNotPresent            EQU        $00
  901. gestaltQD3DAvailable            EQU        $01
  902.     ENDIF    ; OLDROUTINENAMES
  903.  
  904. gestaltGXVersion                EQU        'qdgx'                ; Overall QuickDraw GX Version
  905.  
  906. gestaltQuickdrawFeatures        EQU        'qdrw'                ; quickdraw features 
  907. gestaltHasColor                    EQU        0                    ; color quickdraw present 
  908. gestaltHasDeepGWorlds            EQU        1                    ; GWorlds can be deeper than 1-bit 
  909. gestaltHasDirectPixMaps            EQU        2                    ; PixMaps can be direct (16 or 32 bit) 
  910. gestaltHasGrayishTextOr            EQU        3                    ; supports text mode grayishTextOr 
  911. gestaltSupportsMirroring        EQU        4                    ; Supports video mirroring via the Display Manager. 
  912. gestaltQDHasLongRowBytes        EQU        5                    ; Long rowBytes supported in GWorlds 
  913.  
  914. gestaltQDTextVersion            EQU        'qdtx'                ; QuickdrawText version 
  915. gestaltOriginalQDText            EQU        $0000                ; up to and including 8.1 
  916. gestaltAllegroQDText            EQU        $0100                ; starting with 8.2 (?) 
  917.  
  918. gestaltQDTextFeatures            EQU        'qdtf'                ; QuickdrawText features 
  919. gestaltWSIISupport                EQU        0                    ; bit 0: WSII support included 
  920. gestaltSbitFontSupport            EQU        1                    ; sbit-only fonts supported 
  921. gestaltAntiAliasedTextAvailable    EQU        2                    ; capable of antialiased text 
  922. gestaltOFA2available            EQU        3                    ; OFA2 available 
  923. gestaltCreatesAliasFontRsrc        EQU        4                    ; "real" datafork font support 
  924. gestaltNativeType1FontSupport    EQU        5                    ; we have scaler for Type1 fonts 
  925.  
  926.  
  927. gestaltQuickTimeConferencingInfo EQU    'qtci'                ; returns pointer to QuickTime Conferencing information 
  928.  
  929. gestaltQuickTimeVersion            EQU        'qtim'                ; returns version of QuickTime 
  930. gestaltQuickTime                EQU        'qtim'                ; gestaltQuickTime is old name for gestaltQuickTimeVersion 
  931.  
  932. gestaltQuickTimeFeatures        EQU        'qtrs'
  933. gestaltPPCQuickTimeLibPresent    EQU        0                    ; PowerPC QuickTime glue library is present 
  934.  
  935. gestaltQTVRMgrAttr                EQU        'qtvr'                ; QuickTime VR attributes                               
  936. gestaltQTVRMgrPresent            EQU        0                    ; QTVR API is present                                   
  937. gestaltQTVRObjMoviesPresent        EQU        1                    ; QTVR runtime knows about object movies                
  938. gestaltQTVRCylinderPanosPresent    EQU        2                    ; QTVR runtime knows about cylindrical panoramic movies 
  939.  
  940. gestaltQTVRMgrVers                EQU        'qtvv'                ; QuickTime VR version                                  
  941.  
  942. gestaltPhysicalRAMSize            EQU        'ram '                ; physical RAM size 
  943.  
  944. gestaltRBVAddr                    EQU        'rbv '                ; RBV base address  
  945.  
  946. gestaltROMSize                    EQU        'rom '                ; rom size 
  947.  
  948. gestaltROMVersion                EQU        'romv'                ; rom version 
  949.  
  950. gestaltResourceMgrAttr            EQU        'rsrc'                ; Resource Mgr attributes 
  951. gestaltPartialRsrcs                EQU        0                    ; True if partial resources exist 
  952.  
  953. gestaltRealtimeMgrAttr            EQU        'rtmr'                ; Realtime manager attributes            
  954. gestaltRealtimeMgrPresent        EQU        0                    ; true if the Realtime manager is present     
  955.  
  956. gestaltSCCReadAddr                EQU        'sccr'                ; scc read base address  
  957.  
  958. gestaltSCCWriteAddr                EQU        'sccw'                ; scc read base address  
  959.  
  960. gestaltScrapMgrAttr                EQU        'scra'                ; Scrap Manager attributes 
  961. gestaltScrapMgrTranslationAware    EQU        0                    ; True if scrap manager is translation aware 
  962.  
  963. gestaltScriptMgrVersion            EQU        'scri'                ; Script Manager version number     
  964.  
  965. gestaltScriptCount                EQU        'scr#'                ; number of active script systems   
  966.  
  967. gestaltSCSI                        EQU        'scsi'                ; SCSI Manager attributes 
  968. gestaltAsyncSCSI                EQU        0                    ; Supports Asynchronous SCSI 
  969. gestaltAsyncSCSIINROM            EQU        1                    ; Async scsi is in ROM (available for booting) 
  970. gestaltSCSISlotBoot                EQU        2                    ; ROM supports Slot-style PRAM for SCSI boots (PDM and later) 
  971. gestaltSCSIPollSIH                EQU        3                    ; SCSI Manager will poll for interrupts if Secondary Interrupts are busy. 
  972.  
  973. gestaltControlStripAttr            EQU        'sdev'                ; Control Strip attributes 
  974. gestaltControlStripExists        EQU        0                    ; Control Strip is installed 
  975. gestaltControlStripVersionFixed    EQU        1                    ; Control Strip version Gestalt selector was fixed 
  976. gestaltControlStripUserFont        EQU        2                    ; supports user-selectable font/size 
  977. gestaltControlStripUserHotKey    EQU        3                    ; support user-selectable hot key to show/hide the window 
  978.  
  979. gestaltSDPStandardDirectoryVersion EQU    'sdvr'                ; OCE Standard Directory Panel
  980.  
  981. gestaltSerialAttr                EQU        'ser '                ; Serial attributes 
  982. gestaltHasGPIaToDCDa            EQU        0                    ; GPIa connected to DCDa
  983. gestaltHasGPIaToRTxCa            EQU        1                    ; GPIa connected to RTxCa clock input
  984. gestaltHasGPIbToDCDb            EQU        2                    ; GPIb connected to DCDb 
  985. gestaltHidePortA                EQU        3                    ; Modem port (A) should be hidden from users 
  986. gestaltHidePortB                EQU        4                    ; Printer port (B) should be hidden from users 
  987.  
  988. gestaltShutdownAttributes        EQU        'shut'                ; ShutDown Manager Attributes 
  989. gestaltShutdownHassdOnBootVolUnmount EQU 0                    ; True if ShutDown Manager unmounts boot & VM volume at shutdown time. 
  990.  
  991. gestaltNuBusConnectors            EQU        'sltc'                ; bitmap of NuBus connectors
  992.  
  993. gestaltSlotAttr                    EQU        'slot'                ; slot attributes  
  994. gestaltSlotMgrExists            EQU        0                    ; true is slot mgr exists  
  995. gestaltNuBusPresent                EQU        1                    ; NuBus slots are present  
  996. gestaltSESlotPresent            EQU        2                    ; SE PDS slot present  
  997. gestaltSE30SlotPresent            EQU        3                    ; SE/30 slot present  
  998. gestaltPortableSlotPresent        EQU        4                    ; Portable’s slot present  
  999.  
  1000. gestaltFirstSlotNumber            EQU        'slt1'                ; returns first physical slot 
  1001.  
  1002. gestaltSoundAttr                EQU        'snd '                ; sound attributes 
  1003. gestaltStereoCapability            EQU        0                    ; sound hardware has stereo capability 
  1004. gestaltStereoMixing                EQU        1                    ; stereo mixing on external speaker 
  1005. gestaltSoundIOMgrPresent        EQU        3                    ; The Sound I/O Manager is present 
  1006. gestaltBuiltInSoundInput        EQU        4                    ; built-in Sound Input hardware is present 
  1007. gestaltHasSoundInputDevice        EQU        5                    ; Sound Input device available 
  1008. gestaltPlayAndRecord            EQU        6                    ; built-in hardware can play and record simultaneously 
  1009. gestalt16BitSoundIO                EQU        7                    ; sound hardware can play and record 16-bit samples 
  1010. gestaltStereoInput                EQU        8                    ; sound hardware can record stereo 
  1011. gestaltLineLevelInput            EQU        9                    ; sound input port requires line level 
  1012.                                                             ; the following bits are not defined prior to Sound Mgr 3.0 
  1013. gestaltSndPlayDoubleBuffer        EQU        10                    ; SndPlayDoubleBuffer available, set by Sound Mgr 3.0 and later 
  1014. gestaltMultiChannels            EQU        11                    ; multiple channel support, set by Sound Mgr 3.0 and later 
  1015. gestalt16BitAudioSupport        EQU        12                    ; 16 bit audio data supported, set by Sound Mgr 3.0 and later 
  1016.  
  1017. gestaltSplitOSAttr                EQU        'spos'
  1018. gestaltSplitOSBootDriveIsNetworkVolume EQU 0                ; the boot disk is a network 'disk', from the .LANDisk drive. 
  1019. gestaltSplitOSAware                EQU        1                    ; the system includes the code to deal with a split os situation. 
  1020. gestaltSplitOSEnablerVolumeIsDifferentFromBootVolume EQU 2    ; the active enabler is on a different volume than the system file. 
  1021. gestaltSplitOSMachineNameSetToNetworkNameTemp EQU 3            ; The machine name was set to the value given us from the BootP server 
  1022.  
  1023. gestaltSMPSPSendLetterVersion    EQU        'spsl'                ; OCE StandardMail
  1024.  
  1025. gestaltSpeechRecognitionAttr    EQU        'srta'                ; speech recognition attributes 
  1026. gestaltDesktopSpeechRecognition    EQU        1                    ; recognition thru the desktop microphone is available 
  1027. gestaltTelephoneSpeechRecognition EQU    2                    ; recognition thru the telephone is available 
  1028.  
  1029. gestaltSpeechRecognitionVersion    EQU        'srtb'                ; speech recognition version (0x0150 is the first version that fully supports the API) 
  1030.  
  1031. gestaltSoftwareVendorCode        EQU        'srad'                ; Returns system software vendor information 
  1032. gestaltSoftwareVendorApple        EQU        'Appl'                ; System software sold by Apple 
  1033. gestaltSoftwareVendorLicensee    EQU        'Lcns'                ; System software sold by licensee 
  1034.  
  1035. gestaltStandardFileAttr            EQU        'stdf'                ; Standard File attributes 
  1036. gestaltStandardFile58            EQU        0                    ; True if selectors 5-8 (StandardPutFile-CustomGetFile) are supported 
  1037. gestaltStandardFileTranslationAware EQU    1                    ; True if standard file is translation manager aware 
  1038. gestaltStandardFileHasColorIcons EQU    2                    ; True if standard file has 16x16 color icons 
  1039. gestaltStandardFileUseGenericIcons EQU    3                    ; Standard file LDEF to use only the system generic icons if true 
  1040. gestaltStandardFileHasDynamicVolumeAllocation EQU 4            ; True if standard file supports more than 20 volumes 
  1041.  
  1042. gestaltSysArchitecture            EQU        'sysa'                ; Native System Architecture 
  1043. gestalt68k                        EQU        1                    ; Motorola MC68k architecture 
  1044. gestaltPowerPC                    EQU        2                    ; IBM PowerPC architecture 
  1045.  
  1046. gestaltSystemUpdateVersion        EQU        'sysu'                ; System Update version 
  1047.  
  1048. gestaltSystemVersion            EQU        'sysv'                ; system version
  1049.  
  1050. gestaltToolboxTable                EQU        'tbtt'                ;  OS trap table base  
  1051.  
  1052. gestaltTextEditVersion            EQU        'te  '                ; TextEdit version number 
  1053. gestaltTE1                        EQU        1                    ; TextEdit in MacIIci ROM 
  1054. gestaltTE2                        EQU        2                    ; TextEdit with 6.0.4 Script Systems on MacIIci (Script bug fixes for MacIIci) 
  1055. gestaltTE3                        EQU        3                    ; TextEdit with 6.0.4 Script Systems all but MacIIci 
  1056. gestaltTE4                        EQU        4                    ; TextEdit in System 7.0 
  1057. gestaltTE5                        EQU        5                    ; TextWidthHook available in TextEdit 
  1058.  
  1059. gestaltTEAttr                    EQU        'teat'                ; TextEdit attributes 
  1060. gestaltTEHasGetHiliteRgn        EQU        0                    ; TextEdit has TEGetHiliteRgn 
  1061. gestaltTESupportsInlineInput    EQU        1                    ; TextEdit does Inline Input 
  1062. gestaltTESupportsTextObjects    EQU        2                    ; TextEdit does Text Objects 
  1063. gestaltTEHasWhiteBackground        EQU        3                    ; TextEdit supports overriding the TERec's background to white 
  1064.  
  1065. gestaltTeleMgrAttr                EQU        'tele'                ; Telephone manager attributes 
  1066. gestaltTeleMgrPresent            EQU        0
  1067. gestaltTeleMgrPowerPCSupport    EQU        1
  1068. gestaltTeleMgrSoundStreams        EQU        2
  1069. gestaltTeleMgrAutoAnswer        EQU        3
  1070. gestaltTeleMgrIndHandset        EQU        4
  1071. gestaltTeleMgrSilenceDetect        EQU        5
  1072. gestaltTeleMgrNewTELNewSupport    EQU        6
  1073.  
  1074. gestaltTermMgrAttr                EQU        'term'                ; terminal mgr attributes 
  1075. gestaltTermMgrPresent            EQU        0
  1076. gestaltTermMgrErrorString        EQU        2
  1077.  
  1078. gestaltThreadMgrAttr            EQU        'thds'                ; Thread Manager attributes 
  1079. gestaltThreadMgrPresent            EQU        0                    ; bit true if Thread Mgr is present 
  1080. gestaltSpecificMatchSupport        EQU        1                    ; bit true if Thread Mgr supports exact match creation option 
  1081. gestaltThreadsLibraryPresent    EQU        2                    ; bit true if Thread Mgr shared library is present 
  1082.  
  1083. gestaltTimeMgrVersion            EQU        'tmgr'                ; time mgr version 
  1084. gestaltStandardTimeMgr            EQU        1                    ; standard time mgr is present 
  1085. gestaltRevisedTimeMgr            EQU        2                    ; revised time mgr is present 
  1086. gestaltExtendedTimeMgr            EQU        3                    ; extended time mgr is present 
  1087.  
  1088. gestaltTSMTEVersion                EQU        'tmTV'
  1089. gestaltTSMTE1                    EQU        $0100                ; Original version of TSMTE 
  1090. gestaltTSMTE15                    EQU        $0150                ; System 8.0 
  1091. gestaltTSMTE152                    EQU        $0152                ; System 8.2 
  1092.  
  1093. gestaltTSMTEAttr                EQU        'tmTE'
  1094. gestaltTSMTEPresent                EQU        0
  1095. gestaltTSMTE                    EQU        0                    ; gestaltTSMTE is old name for gestaltTSMTEPresent 
  1096.  
  1097. gestaltALMAttr                    EQU        'trip'                ; Settings Manager attributes (see also gestaltALMVers) 
  1098. gestaltALMPresent                EQU        0                    ; bit true if ALM is available 
  1099. gestaltALMHasSFGroup            EQU        1                    ; bit true if Put/Get/Merge Group calls are implmented 
  1100. gestaltALMHasCFMSupport            EQU        2                    ; bit true if CFM-based modules are supported 
  1101. gestaltALMHasRescanNotifiers    EQU        3                    ; bit true if Rescan notifications/events will be sent to clients 
  1102.  
  1103. gestaltALMHasSFLocation            EQU        1
  1104.  
  1105. gestaltTSMgrVersion                EQU        'tsmv'                ; Text Services Mgr version, if present 
  1106. gestaltTSMgr15                    EQU        $0150
  1107.  
  1108. gestaltTSMgrAttr                EQU        'tsma'                ; Text Services Mgr attributes, if present 
  1109. gestaltTSMDisplayMgrAwareBit    EQU        0                    ; TSM knows about display manager 
  1110. gestaltTSMdoesTSMTEBit            EQU        1                    ; TSM has integrated TSMTE 
  1111.  
  1112. gestaltSpeechAttr                EQU        'ttsc'                ; Speech Manager attributes 
  1113. gestaltSpeechMgrPresent            EQU        0                    ; bit set indicates that Speech Manager exists 
  1114. gestaltSpeechHasPPCGlue            EQU        1                    ; bit set indicates that native PPC glue for Speech Manager API exists 
  1115.  
  1116. gestaltTVAttr                    EQU        'tv  '                ; TV version 
  1117. gestaltHasTVTuner                EQU        0                    ; supports Philips FL1236F video tuner 
  1118. gestaltHasSoundFader            EQU        1                    ; supports Philips TEA6330 Sound Fader chip 
  1119. gestaltHasHWClosedCaptioning    EQU        2                    ; supports Philips SAA5252 Closed Captioning 
  1120. gestaltHasIRRemote                EQU        3                    ; supports CyclopsII Infra Red Remote control 
  1121. gestaltHasVidDecoderScaler        EQU        4                    ; supports Philips SAA7194 Video Decoder/Scaler 
  1122. gestaltHasStereoDecoder            EQU        5                    ; supports Sony SBX1637A-01 stereo decoder 
  1123. gestaltHasSerialFader            EQU        6                    ; has fader audio in serial with system audio 
  1124. gestaltHasFMTuner                EQU        7                    ; has FM Tuner from donnybrook card 
  1125. gestaltHasSystemIRFunction        EQU        8                    ; Infra Red button function is set up by system and not by Video Startup 
  1126. gestaltIRDisabled                EQU        9                    ; Infra Red remote is not disabled. 
  1127. gestaltINeedIRPowerOffConfirm    EQU        10                    ; Need IR power off confirm dialog. 
  1128. gestaltHasZoomedVideo            EQU        11                    ; Has Zoomed Video PC Card video input. 
  1129.  
  1130. gestaltUSBAttr                    EQU        'usb '                ; USB Attributes 
  1131. gestaltUSBPresent                EQU        0                    ; USB Support available 
  1132. gestaltUSBHasIsoch                EQU        1                    ; USB Isochronous features available 
  1133.  
  1134. gestaltUSBVersion                EQU        'usbv'                ; USB version 
  1135.  
  1136. gestaltVersion                    EQU        'vers'                ; gestalt version 
  1137. gestaltValueImplementedVers        EQU        5                    ; version of gestalt where gestaltValue is implemented. 
  1138.  
  1139. gestaltVIA1Addr                    EQU        'via1'                ; via 1 base address  
  1140.  
  1141. gestaltVIA2Addr                    EQU        'via2'                ; via 2 base address  
  1142.  
  1143. gestaltVMAttr                    EQU        'vm  '                ; virtual memory attributes 
  1144. gestaltVMPresent                EQU        0                    ; true if virtual memory is present 
  1145. gestaltVMHasLockMemoryForOutput    EQU        1                    ; true if LockMemoryForOutput is available 
  1146. gestaltVMFilemappingOn            EQU        3                    ; true if filemapping is available 
  1147. gestaltVMHasPagingControl        EQU        4                    ; true if MakeMemoryResident, MakeMemoryNonResident, FlushMemory, and ReleaseMemoryData are available 
  1148.  
  1149. gestaltVMInfoType                EQU        'vmin'                ; Indicates how the Finder should display information about VM in 
  1150.                                                             ; the Finder about box. 
  1151. gestaltVMInfoSizeStorageType    EQU        0                    ; Display VM on/off, backing store size and name 
  1152. gestaltVMInfoSizeType            EQU        1                    ; Display whether VM is on or off and the size of the backing store 
  1153. gestaltVMInfoSimpleType            EQU        2                    ; Display whether VM is on or off 
  1154. gestaltVMInfoNoneType            EQU        3                    ; Display no VM information 
  1155.  
  1156. gestaltVMBackingStoreFileRefNum    EQU        'vmbs'                ; file refNum of virtual memory's main backing store file (returned in low word of result) 
  1157.  
  1158.  
  1159.  
  1160. gestaltALMVers                    EQU        'walk'                ; Settings Manager version (see also gestaltALMAttr) 
  1161.  
  1162. gestaltTranslationAttr            EQU        'xlat'                ; Translation Manager attributes 
  1163. gestaltTranslationMgrExists        EQU        0                    ; True if translation manager exists 
  1164. gestaltTranslationMgrHintOrder    EQU        1                    ; True if hint order reversal in effect 
  1165. gestaltTranslationPPCAvail        EQU        2
  1166. gestaltTranslationGetPathAPIAvail EQU    3
  1167.  
  1168. gestaltExtToolboxTable            EQU        'xttt'                ; Extended Toolbox trap table base 
  1169.  
  1170. ; WorldScript settings;
  1171.  
  1172. gestaltWorldScriptIIVersion        EQU        'doub'
  1173. gestaltWorldScriptIIAttr        EQU        'wsat'
  1174. gestaltWSIICanPrintWithoutPrGeneralBit EQU 0                ; bit 0 is on if WS II knows about PrinterStatus callback 
  1175.  
  1176.  
  1177.  
  1178.     ENDIF ; __GESTALT__ 
  1179.  
  1180.